package com.uzykj.modules.blog.mapper;

import com.uzykj.core.persistence.TreeMapper;
import com.uzykj.core.persistence.annotation.MyBatisMapper;
import com.uzykj.modules.blog.entity.BlogCategory;
import org.apache.ibatis.annotations.Param;
/**
 * @author ghostxbh
 * @date 2020/7/8
 * 类别MAPPER接口
 */
@MyBatisMapper
public interface BlogCategoryMapper extends TreeMapper<BlogCategory> {

    /**
     * 删除类别与文章权限关系
     * @param category_id
     * @return
     */
    public int deleteCategoryNote(@Param("category_id") String category_id);
}